import { onBeforeUnmount } from "vue"


const useEventListener = (type, event, options) => {

}

const useOtherListener = (target, type, event) => {
  target.on(type, event)

  onBeforeUnmount(() => {
    target.off(type, event)
  })
}

export { useEventListener, useOtherListener }
